// import { t } from '@/hooks/web/useI18n';
import { LAYOUT } from '@/router/constant';
import type { AppRouteModule } from '@/router/types';

const unitType: AppRouteModule = {
  path: '/unitType',
  name: 'unitType',
  component: LAYOUT,
  redirect: '/unitType/index',
  meta: {
    hideChildrenInMenu: true,
    icon: 'ion:grid-outline',
    title: '设备型号',
    orderNo: 4,
  },
  children: [
    {
      path: 'index',
      name: 'unitType',
      component: () => import('@/views/unit_type/index.vue'),
      meta: {
        title: '设备型号',
        icon: 'ion:grid-outline',
        hideMenu: true,
      },
    },
  ],
};

export default unitType;
